const typeConversion = (value: any, type: string) => {
    if (typeof type === 'string') {
        return String(value)
    } else {
        return value
    }
}

export default typeConversion;